package com.dd.census.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dd.census.entity.SysPosition;
import com.dd.census.mapper.SysPositionMapper;
import com.dd.census.service.SysPositionService;

@Service
public class SysPositionServiceImpl implements SysPositionService {

	@Autowired
	private SysPositionMapper sysPositionMapper;
	
	@Override
	public List<SysPosition> getProvices(SysPosition sysPosition) {
		return sysPositionMapper.getProvices(sysPosition);
	}

	@Override
	public List<SysPosition> getAllPosition(SysPosition sysPosition) {
		return sysPositionMapper.getAllPosition(sysPosition);
	}

}
